package com.bisp.bgame;



import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;

public class AddActivity extends Activity{
	EditText first,second;
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
       
   
        Log.v("Allven", "跳转成功!!!!");
				adds();
	

    }
	public void adds() {
		// TODO Auto-generated method stub
        Intent i = new Intent();
    	
    	Bundle b = new Bundle();
    	b.putString("jieguo", first.getText().toString()+second.getText().toString());
    	
    	i.putExtras(b);
    	
    	this.setResult(RESULT_OK, i);
    	this.finish();
		
	}
}
